5736639fd602e4aa2f63cbbdb257609905dbe713,app/src/main/java/com/sun/study/module/okhttp/HttpApi.java,HttpApi,getPhoneNumPlace3,#String#,61
Before Change
// 手机å?·ç ?归属地
public PhoneEntity getPhoneNumPlace3(String tel) throws IOException, com.alibaba.fastjson.JSONException, org.json.JSONException {
mOkHttp = mOkHttp.url(URL_PHONE_NUM_PLACE)
.addHeader("apikey", ConstantParams.APISTORE_API_KEY)
.addParams("tel", tel);
return mOkHttp.get(PhoneEntity.class);
}
public PhoneEntity getMyApps() throws IOException, com.alibaba.fastjson.JSONException, org.json.JSONException {
After Change
// 手机å?·ç ?归属地
public PhoneEntity getPhoneNumPlace3(String tel) throws IOException, com.alibaba.fastjson.JSONException, org.json.JSONException {
return OkHttpProxy.get().url(URL_PHONE_NUM_PLACE)
.addHeader("apikey", ConstantParams.APISTORE_API_KEY)
.addParams("tel", tel)
.get(PhoneEntity.class);
}
public PhoneEntity getMyApps() throws IOException, com.alibaba.fastjson.JSONException, org.json.JSONException {